import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-05-24
 * Time: 15:02
 */
public class Test {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        int n=scan.nextInt();
        for (int i = 1; i <= n; i++) {
            for (int j = 1; j < n+i; j++) {
                if(j<=n-i)
                System.out.print(" ");
                else{
                System.out.print("* ");
                j++;
                }
            }
            System.out.println(" ");
        }
    }
}

